{{ with .Params.externalUrl }}
  href="{{ . }}" target="_blank" rel="external"
{{ else }}
  href="{{ .RelPermalink }}"
{{- end -}}
